package ar.edu.unlam.tpfinal.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="TRANSACTION_TYPE")
public class TransactionType extends AbstractPersistentObject {

	private String name;
	
	private String requirements;
	
	private String comments;

	@Column(name = "NAME", columnDefinition = "VARCHAR(19)", nullable = false)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "REQUIREMENTS", columnDefinition = "VARCHAR(254)", nullable = false)
	public String getRequirements() {
		return this.requirements;
	}

	public void setRequirements(String requirements) {
		this.requirements = requirements;
	}

	@Column(name = "COMMENTS", columnDefinition = "VARCHAR(254)", nullable = true)
	public String getComments() {
		return this.comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}
	
}
